package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 兑换码单子表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_cdkey")
@ApiModel(value = "XhCdkey对象", description = "兑换码单子表")
public class XhCdkey implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("优惠券ID")
    private Integer couponId;

    @ApiModelProperty("兑换码名称")
    private String cdkeyName;

    @ApiModelProperty("发放数量")
    private Integer cdkeyNum;

    @ApiModelProperty("是否启用:0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
